package com.CST.service.cb;

import com.CST.common.api.Response;
import com.CST.entity.cb.RuleCompelamortization;
import com.CST.entity.cb.selectInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ly
 * @since 2021-10-27
 */
public interface IRuleCompelamortizationService extends IService<RuleCompelamortization> {


    List<RuleCompelamortization> getRuleCompelAmortization(RuleCompelamortization entity);

    RuleCompelamortization getRuleCompelAmortizationById(RuleCompelamortization entity);

    List<selectInfo> getYearMonth();

    Response addRuleCompelAmortization(RuleCompelamortization entity);

    Response insertBatchRuleCompelAmortization(RuleCompelamortization entity);

    Response modifyRuleCompelAmortization(RuleCompelamortization entity);

    Response batchDeleteRuleCompelAmortization(List<Integer> ids);
}
